#pragma once 

#include "Message.h"

//This is an mock service
class Backend {
public:
  Backend() : _seqNo(0) {}
  ~Backend(){}

  int receiveLoginMessage(const Message & msg);

  int receivedBreakPoint(){
    return _seqNo;
  }
private:
  int _seqNo;
};

void test_backend();
